'''
    python3中支持int float bool complex(复数)
    id()返回对象的唯一标识符(地址)
    type() 可以查询变量所指的对象的数据类型
'''
a = 1
print(id(a))
a = 1
print(type(a))
print(id(a))
a = 3.14
print(type(a))
# del 用于删除变量 del a,b,c
del a

b = True
print(b,type(b))

c = 4+3j
print(c,type(c))

# n = 10 m = 30 交换这两个值，用几行代码
n = 10
m = 30
n,m = m,n

temp = n
n = m
m = temp

m = m^n
n = m^n
m = m^n

#  m = 30 -10  20
m = m - n
# n = 20 + 10 30
n = m + n
# m = 30 - 20   10
m = n - m


m = m + n
n = m - n
m = m - n

# 10:20开始上课